 

package com.zdkj.subway.stm.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zdkj.subway.stm.dto.out.SwStStockDTO;
import com.zdkj.subway.stm.entity.SwStStock;

import javax.servlet.http.HttpServletResponse;
import java.sql.SQLException;
import java.util.Collection;
import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author songtuo
 * @date 2020-07-14 11:52:58
 */
public interface SwStStockService extends IService<SwStStock> {

    /**
     * 统计各线路各站点每日的数据
     * @param dateTime
     * @return
     */
    List<SwStStockDTO> calcData(String dateTime);
    boolean saveBatch(Collection<SwStStock> entityList);

    /**
     * 生成日报表
     * @param swStStock
     * @return
     */
    boolean generateReport(SwStStock swStStock, Collection<SwStStock> collection);

    void export(SwStStock swStStock, HttpServletResponse response) throws SQLException;
	

    String getCheckDay();

	/**
	 查询盘点数据
	*/
	List<Map<String, Object>> getCheckScrapTicket(String lineCode,String stationCode,String statisticsDateStr);
}
